-- GENERATED SPELL FOR [Coilfang Shatterer] --


function spell0_21301(pUnit, Event) --@Shatter Armor,n/a--
pUnit:FullCastSpellOnTarget(38591,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_21301', 17000, 1)
end

function Sorts_21301(pUnit, Event)
local choix_sorts_21301 = math.random(0, 0)
if choix_sorts_21301 == 0 then
pUnit:RegisterEvent('spell0_21301', 1, 1)
end
end

function mob21301_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_21301', math.random(1500, 3000), 1)
end

function mob21301_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21301_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21301_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(21301, 1, 'mob21301_Action')
RegisterUnitEvent(21301, 2, 'mob21301_Leave')
RegisterUnitEvent(21301, 3, 'mob21301_Kill')
RegisterUnitEvent(21301, 4, 'mob21301_Die')
